SRCS = stack.c
HDRS = stack.h
OBJS = stack.o
LIBS +=
CC = gcc
CFLAGS = -g -Wall
OUT = pub

.PHONY: clean

all: $(OUT)
	$(CC) $(CFLAGS) $(OBJS) -c $(OUT) $(LIBS)

stack.o: stack.c stack.h

clean:
	rm -r $(OBJS) *~ $(OUT)
